<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<c:set var="basePath" value="<%=basePath%>" scope="request"/>
<base href="<%=basePath%>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="${basePath }assets/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
/* $(function(){
	$.ajax({
		url:"${basePath }material/uploadPersistent.do",
		data:"string",
		success:function(res){
			$("#con").attr("src", res);
		}
		
	})
}); */
</script>
</head>
<body>
<span>点击显示下面的图片</span>
<div><img id="con" style="-webkit-user-select: none; cursor: zoom-in;" src="${basePath }material/uploadPersistent.do"/></div>
</body>
</html>